home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / gadgets / string.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-29  |  1.3 KB  |  54 lines

  1. #ifndef GADGETS_STRING_H
  2. #define GADGETS_STRING_H
  3. /*
  4. **    $VER: string.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the string.gadget BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_GADGETCLASS_H
  20. #include <intuition/gadgetclass.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. /* string.gadget accepts the same tag parameters as the ROM strgclass
  26.  * in addition to those listed below.
  27.  */
  28.  
  29. #define STRINGA_MinVisible        (REACTION_Dummy+0x0055000)
  30.     /* (UWORD) Minimum character length to domain min size on.
  31.      *         In a layout, a nominal domain would be 2 times this value.
  32.      */
  33.  
  34. #define STRINGA_HookType        (REACTION_Dummy+0x0055001)
  35.     /* (UWORD) Use which built-in hook function?
  36.      */
  37.  
  38.  
  39. /* Support hook types for STRINGA_HookType
  40.  */
  41. #define SHK_CUSTOM        0
  42. #define SHK_PASSWORD       1
  43. #define SHK_IPADDRESS    2
  44. #define SHK_FLOAT           3
  45. #define SHK_HEXIDECIMAL    4
  46. #define SHK_TELEPHONE    5
  47. #define SHK_POSTALCODE    6
  48. #define SHK_AMOUNT        7
  49. #define SHK_UPPERCASE    8
  50.  
  51. #define SHK_HEXADECIMAL SHK_HEXIDECIMAL
  52.  
  53. #endif /* GADGETS_STRING_H */
  54.